﻿@model IEnumerable<saigonbook.Biz.BIZ_sach>
<div class="noidungcanhtrai">
      	            <marquee height="319px" width="198px" onmouseout="this.start()" onmouseover="this.stop()" scrolldelay="30" scrollamount="2" truespeed="truespeed" direction="up" behavior="scroll">
                        @foreach (var item in Model)
                        {
                            int _gia = (int)item.giaban;
                            string gia = _gia.ToString("c");
                            gia = gia.Substring(1, gia.LastIndexOf(".") - 1);
                            <div class="sanphamnoibat">
                                <a href="/sach/chitietsanpham?masach=@Html.DisplayFor(modelItem => item.masach).ToString().Trim()">
                                    <div>
                                        <img src="@Url.Content("~/" + @Html.DisplayFor(modelItem => item.hinhanh))" />
                                    </div>
                                </a>
                                <div class="tensanpham">
                                    <table align="center">
                                        <tr height="40px" valign="middle">
                                            <td><b>@Html.DisplayFor(modelItem => item.tensach)</b></td>
                                        </tr>
                                    </table>
                                </div>
                                <div style="color:#FF0000"><b>Giá: @gia VNĐ</b></div>
                            </div>
                        }
                    </marquee>
                    </div>

